//
//  ViewControllerForNewsDetails.m
//  世界
//
//  Created by dllo on 16/3/3.
//  Copyright © 2016年 admin. All rights reserved.
//

#import "ViewControllerForNewsDetails.h"

@interface ViewControllerForNewsDetails ()

@property (nonatomic, retain) UIWebView *webView;

@end

@implementation ViewControllerForNewsDetails

- (void)viewDidLoad
{
    [super viewDidLoad];
   
    
    self.webView = [[UIWebView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:self.strForNewsUrl]];
    [self.view addSubview: self.webView];
    [self.webView loadRequest:request];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
